/*
 * EventuallyStatementAst.h
 *
 *  Created on: 19 Nov 2010
 *      Author: kn308
 */

#ifndef EVENTUALLYSTATEMENTAST_H_
#define EVENTUALLYSTATEMENTAST_H_

#include <MAlice/Ast/StatementAst.h>
#include <MAlice/Ast/ExpressionAst.h>

namespace MAlice
{

class EventuallyStatementAst: public StatementAst
{
private:
	ExpressionAst* mCond;
	StatementAst * mBody;
public:
	EventuallyStatementAst(ExpressionAst* expr, StatementAst * body);
	virtual ~EventuallyStatementAst();
	virtual llvm::Value* generate();
};

}

#endif /* EVENTUALLYSTATEMENTAST_H_ */
